'use strict';
const db = uniCloud.database();  
exports.main = async (event, context) => {
	console.log(event.data);
	if (!event.data) return {result: {data: {}}}
	const {data} = await db.collection('album_base_db').where(event.data).get()
	return data[0]
};
